<!-- 
cpp sdk
-->

<html>
<head>
<title>C++ SDK下载</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
<script src="//cdn.staticfile.org/jquery/1.12.4/jquery.min.js"></script>
</head>
<body>
    <h1>C++ SDK 使用说明</h1>
    <a href="?from=cpp-sdk">Index</a>
    >
    <a>C++ SDK</a>

    <br />
    <br />

    <a target="_blank" href="?action=cpp-sdk-download">预览 Cpp Sdk 源码</a>
    <h3>Sdk使用示例</h3>
    <pre>
// 在实际应用中，BudoDubboHttpApiJavaSdk应该单例
BudoDubboHttpApiJavaSdk javaSdk = new BudoDubboHttpApiJavaSdk();

// 异步执行请求的线程池
javaSdk.setExecutorService(Executors.newFixedThreadPool(20));

// 接口通信层
javaSdk.setDriver(new BudoHttpRequestDriver());

// 调用接口方法
javaSdk.AdminEngineerApi().updateEngineerStatus(1, 2, 3).then(new BudoDubboHttpApiJavaSdk.ApiCallback() {
    // 失败时候进入
    public void fail(BudoDubboHttpApiJavaSdk.ApiError error) {
        System.err.println("fail, error=" + error);
        error.getError().printStackTrace();
    }
    // 成功时进入
    public void success(BudoDubboHttpApiJavaSdk.ApiResult result) {
        System.err.println("success, result=" + result.getResponse());
    }
});
</pre>

    <a target="_blank" href="?action=javascript-sdk&scope=${(RequestParameters['scope'])!}">Javascript SDK</a>
    <a target="_blank" href="?action=java-sdk&scope=${(RequestParameters['scope'])!}">Java SDK</a>
    <a target="_blank" href="?action=typescript-sdk&scope=${(RequestParameters['scope'])!}">TypeScript SDK</a>
    <a target="_blank" href="?action=objectivec-sdk&scope=${(RequestParameters['scope'])!}">Objective-C SDK</a>
    <a>C++ SDK</a>
</body>
</html>